<!DOCTYPE html>
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="Content-Language" content="zh-CN">
<meta name="author" content="管雷鸣">
<title>DEMO</title>
<link rel="stylesheet" href="../style.css">
</head>
<body>
		<h2>第一步：引入两个js文件</h2>
		<pre>
&lt;script src="https://res.weiunity.com/wm/wm.js"&gt;&lt;/script&gt;
&lt;script src="https://res.weiunity.com/kefu/dev/h5Mobile/h5Mobile.js"&gt;&lt;/script&gt;
		</pre>
		<h2>第二步：传入您的坐席id，一句js代码调起会话</h2>
		<pre>
kefu.ui.chat.entry("365fef747a9e493fb631b621ee36eed1");
		</pre>
		
		<h2>演示html代码</h2>
		<textarea id="yanshi" rows="20">加载中...</textarea>
<script src="https://res.weiunity.com/request/request.js"></script>
<script>
request.get('https://res.weiunity.com/kefu/dev/h5Mobile/demo.html',{},function(data){
	document.getElementById('yanshi').value=data;
});
</script>

		<h2>效果图</h2>
		<p style="text-align:center;"><img src="https://res.weiunity.com/kefu/dev/h5Mobile/kefu_mobile.png" style="width:60%" /></p>
		

</body>
</html>